package home.projects.withinaoptest.impl;

import home.projects.withinaoptest.framework.Chain;
import home.projects.withinaoptest.framework.CommonChain;

import java.util.HashMap;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ServiceImpl {

   public static void main(final String[] args) {
      ApplicationContext ctx = new ClassPathXmlApplicationContext(
            "home/projects/withinaoptest/config/context.xml");
      CommonChain chain = (CommonChain) ctx.getBean("chain");
      chain.execute(new HashMap<String, Object>());
   }

}
